package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Address;

import java.util.List;

public interface AddressService {
    //保存
    void save(Address address);
    //列表查询
    List<Address> findList();
    //主键查询
    Address findById(Long id);
    //修改
    void update(Address address);
    //删除
    void delete(List<Long> ids);
    //设置默认地址
    void setDefault(Long id);
    //条件查询
    ResultInfo findDefault();

}
